.class public Lcom/wqmobile/sdk/model/AdvertisementProperties;
.super Ljava/lang/Object;


# instance fields
.field private Action:Lcom/wqmobile/sdk/model/AdvertisementAction;

.field private AdID:Ljava/lang/String;

.field private ButtonName:Ljava/lang/String;

.field private Image:Lcom/wqmobile/sdk/model/AdvertisementDetail;

.field private IsOffline:Ljava/lang/String;

.field private LogoName:Ljava/lang/String;

.field private Media:Lcom/wqmobile/sdk/model/AdvertisementDetail;

.field private OfflineAdExpireDate:Ljava/lang/String;

.field private Text:Lcom/wqmobile/sdk/model/AdvertisementDetail;

.field private Type:Ljava/lang/String;

.field private imageList:Ljava/util/List;

.field private remainShowTime:Ljava/lang/Integer;

.field private runningCount:Ljava/lang/Integer;

.field private zipBytes:[B


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcom/wqmobile/sdk/model/AdvertisementDetail;

    invoke-direct {v0}, Lcom/wqmobile/sdk/model/AdvertisementDetail;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Text:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    new-instance v0, Lcom/wqmobile/sdk/model/AdvertisementDetail;

    invoke-direct {v0}, Lcom/wqmobile/sdk/model/AdvertisementDetail;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Image:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    new-instance v0, Lcom/wqmobile/sdk/model/AdvertisementDetail;

    invoke-direct {v0}, Lcom/wqmobile/sdk/model/AdvertisementDetail;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Media:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    new-instance v0, Lcom/wqmobile/sdk/model/AdvertisementAction;

    invoke-direct {v0}, Lcom/wqmobile/sdk/model/AdvertisementAction;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Action:Lcom/wqmobile/sdk/model/AdvertisementAction;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->imageList:Ljava/util/List;

    const/4 v0, -0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->runningCount:Ljava/lang/Integer;

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->remainShowTime:Ljava/lang/Integer;

    return-void
.end method


# virtual methods
.method public addImage([B)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->imageList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Action:Lcom/wqmobile/sdk/model/AdvertisementAction;

    return-object v0
.end method

.method public getAdID()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->AdID:Ljava/lang/String;

    return-object v0
.end method

.method public getButtonName()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->ButtonName:Ljava/lang/String;

    return-object v0
.end method

.method public getImage()Lcom/wqmobile/sdk/model/AdvertisementDetail;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Image:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-object v0
.end method

.method public getImageList()Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->imageList:Ljava/util/List;

    return-object v0
.end method

.method public getIsOffline()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->IsOffline:Ljava/lang/String;

    return-object v0
.end method

.method public getLogoName()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->LogoName:Ljava/lang/String;

    return-object v0
.end method

.method public getMedia()Lcom/wqmobile/sdk/model/AdvertisementDetail;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Media:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-object v0
.end method

.method public getOfflineAdExpireDate()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->OfflineAdExpireDate:Ljava/lang/String;

    return-object v0
.end method

.method public getOfflineAdExpireDateTime()Ljava/util/Date;
    .locals 2

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string v1, "yyyy-MM-dd hh:mm:ss"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    :try_start_0
    iget-object v1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->OfflineAdExpireDate:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/wqmobile/sdk/protocol/cmd/b;->a(Ljava/lang/Exception;)V

    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getRemainShowTime()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->remainShowTime:Ljava/lang/Integer;

    return-object v0
.end method

.method public getRunningCount()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->runningCount:Ljava/lang/Integer;

    return-object v0
.end method

.method public getText()Lcom/wqmobile/sdk/model/AdvertisementDetail;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Text:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-object v0
.end method

.method public getType()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Type:Ljava/lang/String;

    return-object v0
.end method

.method public getZipBytes()[B
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->zipBytes:[B

    return-object v0
.end method

.method public setAction(Lcom/wqmobile/sdk/model/AdvertisementAction;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Action:Lcom/wqmobile/sdk/model/AdvertisementAction;

    return-void
.end method

.method public setAdID(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->AdID:Ljava/lang/String;

    return-void
.end method

.method public setButtonName(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->ButtonName:Ljava/lang/String;

    return-void
.end method

.method public setImage(Lcom/wqmobile/sdk/model/AdvertisementDetail;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Image:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-void
.end method

.method public setImageList(Ljava/util/List;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->imageList:Ljava/util/List;

    return-void
.end method

.method public setIsOffline(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->IsOffline:Ljava/lang/String;

    return-void
.end method

.method public setLogoName(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->LogoName:Ljava/lang/String;

    return-void
.end method

.method public setMedia(Lcom/wqmobile/sdk/model/AdvertisementDetail;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Media:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-void
.end method

.method public setOfflineAdExpireDate(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->OfflineAdExpireDate:Ljava/lang/String;

    return-void
.end method

.method public setRemainShowTime(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->remainShowTime:Ljava/lang/Integer;

    return-void
.end method

.method public setRunningCount(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->runningCount:Ljava/lang/Integer;

    return-void
.end method

.method public setText(Lcom/wqmobile/sdk/model/AdvertisementDetail;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Text:Lcom/wqmobile/sdk/model/AdvertisementDetail;

    return-void
.end method

.method public setType(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->Type:Ljava/lang/String;

    return-void
.end method

.method public setZipBytes([B)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;->zipBytes:[B

    return-void
.end method
